package org.wyf.EveryPoint.common.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.wyf.EveryPoint.common.entity.DictItem;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * 字典表 Mapper
 *
 * @author wyf
 * @date 2021-04-21 15:46:11
 */
public interface DictItemMapper extends BaseMapper<DictItem> {

    @Select("select name from blk_dict_item where typeKey=#{typeKey} and code=#{code}")
    String findDictItemName(@Param("typeKey") String typeKey, @Param("code")String code);
}
